package com.china08.yxyapi.entity.mg.huodong.healthcompetition;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 中小学健康知识答题.
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.huodong.competition.ques")
public class YxyCompetitionQues extends MongoBaseEntityNoId {

    @Id
    private String id;

    @Indexed
    @Field(value = "stage")
    private String stage;// 学段

    @Indexed
    @Field(value = "ques_no")
    private Integer quesNo;// 试题号

    @Field(value = "ques_type")
    private String quesType;// 试题类型

    @Field(value = "body")
    private String body;// 试题

    @Field(value = "ques_options")
    private String quesOptions;// 试题选项

    @Field(value = "ques_answer")
    private String quesAnswer;// 试题答案

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the stage
     */
    public String getStage() {
        return stage;
    }

    /**
     * @param stage
     *            the stage to set
     */
    public void setStage(String stage) {
        this.stage = stage;
    }

    /**
     * @return the quesType
     */
    public String getQuesType() {
        return quesType;
    }

    /**
     * @param quesType
     *            the quesType to set
     */
    public void setQuesType(String quesType) {
        this.quesType = quesType;
    }

    /**
     * @return the body
     */
    public String getBody() {
        return body;
    }

    /**
     * @param body
     *            the body to set
     */
    public void setBody(String body) {
        this.body = body;
    }

    /**
     * @return the quesOptions
     */
    public String getQuesOptions() {
        return quesOptions;
    }

    /**
     * @param quesOptions
     *            the quesOptions to set
     */
    public void setQuesOptions(String quesOptions) {
        this.quesOptions = quesOptions;
    }

    /**
     * @return the quesAnswer
     */
    public String getQuesAnswer() {
        return quesAnswer;
    }

    /**
     * @param quesAnswer
     *            the quesAnswer to set
     */
    public void setQuesAnswer(String quesAnswer) {
        this.quesAnswer = quesAnswer;
    }

    /**
     * @return the quesNo
     */
    public Integer getQuesNo() {
        return quesNo;
    }

    /**
     * @param quesNo
     *            the quesNo to set
     */
    public void setQuesNo(Integer quesNo) {
        this.quesNo = quesNo;
    }

}
